package com.ytjj.qmyx.supplychain.common.model.response;

import com.ytjj.qmyx.supplychain.common.model.request.ExpressRecordsRequest;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class SupplyChainOrderListResponse {
    private Integer id;//订单id

    private String childOrderNo;//子订单号

    private String orderNo;

    private Integer orderStatus;//订单状态

    private String userName;//收货人

    private String userTel;//收货手机号

    private String productName;//商品名

    private String productImg;//商品图

    private String productSkuSpec;//规格名

    private BigDecimal supplyPrice;//供货价

    private BigDecimal productPrice;//供货价

    private BigDecimal costPrice;//成本价

    private String bankerName;//供应商名称

    private String shopName;

    private String deliveryAddress;//收货详细地址

    private Date orderDate;//订单日期

    private Integer productSum;//商品数量

    private String typeno;//款号

    private String expressCode;//快递公司编号

    private String expressNo;//快递号

    private Integer expressStatus;//快递状态

    private Integer isExport;//是否导出

    private Date exportTime;//导出时间

    private String smallNote;//订单备注

    private String note;//客服备注

    private Integer isZeroProduct;//是否0元

    private Integer bankerId;

    private Integer productSpecId;

    private String shopId;//订单来源

    //一级分类Id
    private Integer topCategoryId;
    //二级分类Id
    private Integer categoryId;
    //三级分类Id
    private Integer bottomCategoryId;
    //一级分类
    private String topCategoryTitle;
    //二级分类
    private String categoryTitle;
    //三级分类
    private String bottomCategoryTitle;
    //运费
    private BigDecimal freight;
    //身份证姓名
    private String authenticatedName;
    //身份证号码
    private String authenticatedCard;
    //售后状态
    private String returnGoodStatus;
    //售后单号
    private String serviceNo;
    //退款金额
    private BigDecimal amount;
    //子订单id
    private Integer orderInfoId;
    //省
    private String province;
    //市
    private String city;
    //区
    private String area;

    //外部sku_id
    private String threeSkuId;

    private Date importTime;//发货日期

    // 发货状态
    private Integer deliverStatus;

    //商品id
    private Integer productId;

    //采购员
    private String buyer;

    /**
     * 支付类型 pay_delivery货到付款 online_pay在线支付 service客服 score积分
     */
    private String payType;

    /**
     * 拆分快递信息
     */
    private String expressRecordStr;

    /**
     * 拆分快递信息记录
     */
    private List<ExpressRecordsRequest> records;

    /**
     * 订单同步时间
     */
    private Date orderSyncTime;

    /**
     * 最新物流状态
     */
    private String latestExpressState;

    /**
     * 异常订单备注
     */
    private String orderExceptionNoteStr;

    /**
     * 订单实付金额
     */
    private BigDecimal realTotalMoney;
}
